<?php

namespace App;



use Illuminate\Database\Eloquent\Model;

class Game extends Model
{

    protected   $table   = 'app_game';
    public  $timestamps  = false;

    public function gameExt()
    {
        return $this->hasOne('App\gameExt','game_id','id');
    }

    protected  $fillable =
        [
            'name',
            'name_en',
            'app_id',
            'app_secret',
            'package_name',
            'version',
            'version_no',
            'icon',
            'title',
            'synopsis',
            'company_id',
            'recommend_code',
            'class',
            'type',
            'total_size',
            'download_count',
            'rateing_bar',
            'create_time',
            'update_time'
        ];

}
